﻿Imports System.Collections.Generic
Imports System.Web
Imports System.Web.Routing
Imports Microsoft.AspNet.FriendlyUrls

Public Module RouteConfig
    Sub RegisterRoutes(ByVal routes As RouteCollection)
        routes.EnableFriendlyUrls()
        routes.MapPageRoute("Home", "Home", "~/Default.aspx")
        routes.MapPageRoute("Book", "book-review/{ID}/{slug}", "~/BookDetails.aspx")
    End Sub
End Module



